package com.gz.droolsrule.service;

import com.gz.droolsrule.dao.BaseRuleSceneInfoMapper;
import com.gz.droolsrule.pojo.BaseRuleSceneInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: drools-rule
 * @Package: com.drools.rules.gz.droolsrule.service
 * @ClassName: RuleSceneService
 * @Author: gz
 * @Description:
 * @Date: 2019/5/29 21:55
 * @Version: 1.0
 */
@Service
public class RuleSceneService {
    @Autowired
    private BaseRuleSceneInfoMapper ruleSceneInfoMapper;
    /**
     * 方法说明: 获取规则引擎场景集合
     *
     * @param sceneInfo 参数
     */
    public List<BaseRuleSceneInfo> findBaseRuleSceneInfiList(BaseRuleSceneInfo sceneInfo)  {
        return this.ruleSceneInfoMapper.findBaseRuleSceneInfiList(sceneInfo);
    }

}
